<?php
header('Content-Type:text/html;charset=utf-8');
session_start();
require_once './config/sys_config.php';
require_once MB_CONF_DIR  . '/user_config.php';
require_once MB_APP_DIR   . '/global.class.php';
require_once MB_MODEL_DIR . '/oauth.class.php';
require_once MB_MODEL_DIR . '/opent.class.php';
require_once MB_MODEL_DIR . '/api_client.class.php';

echo "====================>> Start 海南牛人 <<====================<br>";
//设置logger
$logger = new MBLog($mbConfig["log_path"], "test", false);
MBGlobal::setLogger($logger);

$interestUserMod = MBGlobal::getAdminRecomm()->getMod(5);
var_dump($interestUserMod);

$interestUserList = MBGlobal::getAdminRecomm()->showHainanUser(0, 10, 1);
var_dump($interestUserList);
echo "====================>> End海南牛人 <<====================<br><br><br><br>";


echo "====================>> Start 最新推荐用户 <<====================<br>";
//设置logger
$logger = new MBLog($mbConfig["log_path"], "test", false);
MBGlobal::setLogger($logger);

$interestUserMod = MBGlobal::getAdminRecomm()->getMod(6);
var_dump($interestUserMod);

$interestUserList = MBGlobal::getAdminRecomm()->showRecNewUser(0, 10, 1);
var_dump($interestUserList);
echo "====================>> End 最新推荐用户 <<====================<br>";
?>
